package com.example.trafficsystem.repository;

import com.example.trafficsystem.entity.TrainingPlan;
import com.example.trafficsystem.entity.UserTb;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;
import java.util.Optional;

public interface TrainingPlanRe extends JpaRepository<TrainingPlan, Long> , JpaSpecificationExecutor<TrainingPlan> {

    List<TrainingPlan> findByOrganizationId(Long organizationId);


}
